package com.ivo.activiti.bpmn.record;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 节点
 * @author wj
 * @version 1.0
 */
@Data
@Entity
@Table(name = "SYS_Node")
public class Node {

    /**
     * 节点
     */
    @Id
    private String node;

    /**
     * 名称
     */
    private String name;

    /**
     * 层级签核是否
     */
    private String isReview;

    /**
     * 多人时的签核方式
     */
    private int multiSignType;

    private boolean canSubmit = true;

    private boolean canReject = false;

    private boolean canModify = false;

    private boolean canHandIn = false;

    private boolean canHandOver = false;

    private boolean canRecosign = false;

    private boolean canHold = false;

    private boolean canVoid = true;

    private boolean canSave = true;

    private boolean canSkip = false;

    private boolean canAttach = false;
}
